<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Bezdelnick
 * Date: 19.03.13
 * Time: 13:48
 * To change this template use File | Settings | File Templates.
 */
$PATH = Config::getInstance()->getBasePath();
require_once("$PATH/util/OrmMapping.php");

abstract class AbstractController
{
    public abstract function getTableName();
    public abstract function getNewCopyOfObject();
    public function getIdMapping()
    {
        return new OrmMapping("Id", "id", "int");
    }
    public abstract function getMappings();
}
